#include "GetDir.h"

string getDir() {
		char path[MAX_PATH];

		if (GetModuleFileNameA(NULL, path, MAX_PATH)) {
			size_t len = sizeof(path);
			for (; len > 0; len--)
			{
				if (path[len] == '\\') {
					return string(path).substr(0, len + 1);
				}
			}

		}
}